package com.ruoyi.analyse.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 问题分析对象 ds_question_analysis
 *
 * @author ruoyi
 */
public class QuestionAnalysis extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分析ID */
    private Long analysisId;

    /** 关键词 */
    @Excel(name = "关键词")
    private String keyword;

    /** 问题类型 */
    @Excel(name = "问题类型")
    private String questionType;

    /** 出现频次 */
    @Excel(name = "出现频次")
    private Integer frequency;

    /** 学科分类 */
    @Excel(name = "学科分类")
    private String subject;

    /** 问题复杂度 */
    @Excel(name = "问题复杂度")
    private String complexity;

    /** 提问用户名 */
    private String userName;

    /** 提问班级id */
    private Long classId;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateTime;

    /** 学院ID */
    private Integer collegeId;

    // getter和setter方法
    public Integer getCollegeId() {
        return collegeId;
    }

    public void setCollegeId(Integer collegeId) {
        this.collegeId = collegeId;
    }

    public void setAnalysisId(Long analysisId)
    {
        this.analysisId = analysisId;
    }

    public Long getAnalysisId()
    {
        return analysisId;
    }

    public void setKeyword(String keyword)
    {
        this.keyword = keyword;
    }

    public String getKeyword()
    {
        return keyword;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setQuestionType(String questionType)
    {
        this.questionType = questionType;
    }

    public String getQuestionType()
    {
        return questionType;
    }

    public void setFrequency(Integer frequency)
    {
        this.frequency = frequency;
    }

    public Integer getFrequency()
    {
        return frequency;
    }

    public void setSubject(String subject)
    {
        this.subject = subject;
    }

    public String getSubject()
    {
        return subject;
    }

    public void setComplexity(String complexity)
    {
        this.complexity = complexity;
    }

    public String getComplexity()
    {
        return complexity;
    }

    public void setUpdateTime(Date updateTime)
    {
        this.updateTime = updateTime;
    }

    public Date getUpdateTime()
    {
        return updateTime;
    }

    public Long getClassId() {
        return classId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("analysisId", getAnalysisId())
            .append("collegeId", getCollegeId())
            .append("keyword", getKeyword())
            .append("userName", getUserName())
            .append("questionType", getQuestionType())
            .append("frequency", getFrequency())
            .append("subject", getSubject())
            .append("complexity", getComplexity())
            .append("classId", getClassId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
